#!/bin/bash
bash clean
echo "Compiling..."
java -jar java/lib/antlr-3.2.jar flips.g -o java/ -verbose
java -jar java/lib/antlr-3.2.jar flipsUnitConversion.g -o java/ -verbose
java -jar java/lib/antlr-3.2.jar flipsAssembly.g -o java/ -verbose
javac -classpath java/lib/antlr-3.2.jar java/*.java -d java/classes -verbose
echo "Compiler finished."
echo "Finished."
